/*  1:   */ package tt.dz.vo.request;
/*  2:   */ 
/*  3:   */ import tt.dz.biz.annotation.RequestRequire;
/*  4:   */ import tt.dz.common.BusinessException;
import tt.dz.common.DzConstants;
/*  5:   */ import tt.dz.common.DzConstants.ThirdAccountType;
/*  6:   */ import tt.dz.common.DzConstants.bizSysCode;
import tt.dz.common.DzErrorCode;
/*  7:   */ import tt.dz.common.DzErrorCode.CommonErrorCode;
/*  8:   */ import tt.dz.common.DzErrorCode.ThirdAccountErrorCode;
/*  9:   */ 
/* 10:   */ public class ExitThirdAccountBindRpcRequestVo
/* 11:   */   extends BaseRpcRequestVo
/* 12:   */ {
/* 13:   */   @RequestRequire(required=true)
/* 14:   */   private String bindType;
/* 15:   */   @RequestRequire(required=true)
/* 16:   */   private String thirdUuuid;
/* 17:   */   @RequestRequire(required=true)
/* 18:   */   private String merchantCode;
/* 19:   */   @RequestRequire(required=true)
/* 20:   */   private String sysCode;
/* 21:   */   
/* 22:   */   public String getBindType()
/* 23:   */   {
/* 24:45 */     return this.bindType;
/* 25:   */   }
/* 26:   */   
/* 27:   */   public void setBindType(String bindType)
/* 28:   */   {
/* 29:49 */     this.bindType = bindType;
/* 30:   */   }
/* 31:   */   
/* 32:   */   public String getThirdUuuid()
/* 33:   */   {
/* 34:53 */     return this.thirdUuuid;
/* 35:   */   }
/* 36:   */   
/* 37:   */   public void setThirdUuuid(String thirdUuuid)
/* 38:   */   {
/* 39:57 */     this.thirdUuuid = thirdUuuid;
/* 40:   */   }
/* 41:   */   
/* 42:   */   public String getMerchantCode()
/* 43:   */   {
/* 44:61 */     return this.merchantCode;
/* 45:   */   }
/* 46:   */   
/* 47:   */   public void setMerchantCode(String merchantCode)
/* 48:   */   {
/* 49:65 */     this.merchantCode = merchantCode;
/* 50:   */   }
/* 51:   */   
/* 52:   */   public String getSysCode()
/* 53:   */   {
/* 54:69 */     return this.sysCode;
/* 55:   */   }
/* 56:   */   
/* 57:   */   public void setSysCode(String sysCode)
/* 58:   */   {
/* 59:73 */     this.sysCode = sysCode;
/* 60:   */   }
/* 61:   */   
/* 62:   */   public void validateRpcRequire()
/* 63:   */     throws BusinessException
/* 64:   */   {
/* 65:88 */     super.validateRpcRequire();
/* 66:89 */     DzConstants.bizSysCode sysCodeEnum = DzConstants.bizSysCode.indexOf(getSysCode());
/* 67:91 */     if (null == sysCodeEnum) {
/* 68:92 */       throw new BusinessException(DzErrorCode.CommonErrorCode.SYS_CODE_NOT_FOUND.value(), DzErrorCode.CommonErrorCode.SYS_CODE_NOT_FOUND.getDesc());
/* 69:   */     }
/* 70:94 */     if (null == DzConstants.ThirdAccountType.indexOf(this.bindType)) {
/* 71:95 */       throw new BusinessException(DzErrorCode.ThirdAccountErrorCode.EXCEPTION_ACCOUNT_BIND_TYPE.value(), DzErrorCode.ThirdAccountErrorCode.EXCEPTION_ACCOUNT_BIND_TYPE.getDesc());
/* 72:   */     }
/* 73:   */   }
/* 74:   */ }


/* Location:           F:\work\pengyu\mainServer\WEB-INF\classes\
 * Qualified Name:     tt.dz.vo.request.ExitThirdAccountBindRpcRequestVo
 * JD-Core Version:    0.7.0.1
 */